<include file="__THEME__/header" />


<script type="text/javascript" src="../Public/Js/Common.js"></script>
<link  href="../Public/group.css" rel="stylesheet" type="text/css"/>
<script>

function clearnotice() {
	if(confirm('你确定要清空群的公告吗？')){
		document.noticeform.announce.value = '';
		document.noticeform.submit();
	}
}
</script>
</head>

<body>

<div class="content"><!-- 内容 begin  -->
  
 <!-- 用户组件列表 begin -->
   <include file="__THEME__/apps" />      
  <!-- 用户组件列表 end -->
  
  <div class="main"> <!-- 右侧内容 begin  -->
  
   <include file="../Public/manage_group_top" />
  
  <div class="groupBox">
  
  <div class="boxL" style="width:100%;">
  <form action="__URL__/announce" method="post" name="noticeform">
  <div class="msg" id="msg" style="display:none;">修改成功</div>
  <div class="box1">
    	<h4>发布公告</h4>
          {:W("Edit",array('smileList'=>$smileList,'smilePath'=>$smilePath,'rows'=>20,'cols'=>20,'name'=>'announce','id'=>'icontent','content'=>stripslashes($groupinfo['announce'])))}
          <br />
		 <input type="hidden" name="gid" value="{$gid}">
		 <input type="hidden" name="editsubmit" value="1">
          <input name="button" type="submit" class="btn_b mt5" id="button" value="发布公告" />&nbsp;<input name="button2" type="submit" class="btn_b" id="button2" value="清除公告" onClick="clearnotice();"/>

    </div>
  </form>  
    </div>
  <!-- end  -->
  </div>  </div><!-- 右侧内容 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<script>
	<php> if($success){</php> $('#msg').show();$('#msg').fadeOut(2000); <php>}</php>
</script>
<include file="__THEME__/footer" />
</body>
</html>